package site.lanmushan.framework.exception;


/**
 * 自定义异常
 *
 * @author Administrator
 */
public class OperateException extends BaseException  {
    public IOperateCode IOperateCode;
    private Object input;

    public OperateException(String message) {
        super(message);
    }
    public OperateException(String message,Throwable throwable) {
        super(message,throwable);
    }
    public OperateException(IOperateCode IOperateCode, String message) {
        super(message);
        this.IOperateCode = IOperateCode;
    }
    public OperateException(String message, IOperateCode IOperateCode) {
        super(message);
        this.IOperateCode = IOperateCode;
        this.input = input;
    }
    public OperateException(String message, IOperateCode IOperateCode, Object input) {
        super(message);
        this.IOperateCode = IOperateCode;
        this.input = input;
    }

    public OperateException(IOperateCode IOperateCode) {
        super(IOperateCode.getMessage());
        this.IOperateCode = IOperateCode;
    }

    public Object getInput() {
        return input;
    }

    public void setInput(Object input) {
        this.input = input;
    }

    public IOperateCode getHttpCode() {
        return IOperateCode;
    }

    public void setHttpCode(IOperateCode IOperateCode) {
        this.IOperateCode = IOperateCode;
    }


}
